import { ref } from "vue";
import { useMapViewer } from "@/composables/useMapViewer";

export const useIndex = () => {
  const viewerContainer = ref<HTMLElement | null>(null);
  const { initViewer, destroyViewer } = useMapViewer();

  return {
    viewerContainer,
    initViewer,
    destroyViewer,
  };
};
